package com.owc.common.sdk.response;

import com.owc.common.sdk.AbstractResponse;
import com.owc.common.sdk.entity.AbstractResult;

/**
 * @Author xiaom
 * @Date 2019/11/13 15:19
 * @Version 1.0.0
 * @Description <>
 **/
public class RateResponse extends AbstractResponse<RateResponse.ResponseMsgResult> {

    private RateResponse.ResponseMsgResult responseMsg;

    public RateResponse.ResponseMsgResult getResponseMsg() {
        return responseMsg;
    }

    public void setResponseMsg(RateResponse.ResponseMsgResult responseMsg) {
        this.responseMsg = responseMsg;
    }

    public static class ResponseMsgResult extends AbstractResult {
        //最高值
        private Integer high;
        //交易量
        private String vol;
        //最新成交价
        private String last;
        //最低值
        private String low;
        //买一价
        private String buy;
        //卖一价
        private String sell;
        private Long time;

        public Integer getHigh() {
            return high;
        }

        public void setHigh(Integer high) {
            this.high = high;
        }

        public String getVol() {
            return vol;
        }

        public void setVol(String vol) {
            this.vol = vol;
        }

        public String getLast() {
            return last;
        }

        public void setLast(String last) {
            this.last = last;
        }

        public String getLow() {
            return low;
        }

        public void setLow(String low) {
            this.low = low;
        }

        public String getBuy() {
            return buy;
        }

        public void setBuy(String buy) {
            this.buy = buy;
        }

        public String getSell() {
            return sell;
        }

        public void setSell(String sell) {
            this.sell = sell;
        }

        public Long getTime() {
            return time;
        }

        public void setTime(Long time) {
            this.time = time;
        }
    }
}
